import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

const el = document.getElementById(window.SUB_CONTENT_KEY || 'subContent')
window.unmountSubContent = function () {
  ReactDOM.unmountComponentAtNode(el)
}

ReactDOM.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  el
);
